package com.bdd.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

/**
 * payment
 * @author 
 */
@ApiModel(value="generate.Payment支付表")
@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
public class Payment implements Serializable {
    private Integer id;

    private Double totalPrice;

    private Integer orderId;

    /**
     * 1:支付成功；0：支付失败
     */
    @ApiModelProperty(value="1:支付成功；0：支付失败")
    private Byte status;

    private Date createTime;

    private Date updateTime;

    private static final long serialVersionUID = 1L;
}